package org.jeecg.glr.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.jeecg.glr.entity.GlrPattern;

import java.util.List;

/**
 * @Description: 网关模式
 * @Author: jeecg-boot
 * @Date:   2020-03-09
 * @Version: V1.0
 */
public interface GlrPatternMapper extends BaseMapper<GlrPattern> {
    @Select("SELECT pattern_id FROM glr_pattern_gateway WHERE gate_way_code = #{gateWayCode}")
    public List<String> getPatternByGateWayCode(String gateWayCode);
}
